package com.producteev4j.model.json.user;

import com.producteev4j.model.response.BaseResponse;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;

/**
 * Created by IntelliJ IDEA.
 * User: jcarrey
 * Date: 14/05/11
 * TimeImpl: 19:16
 * To change this template use File | Settings | File Templates.
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserLoginWrapperImpl extends BaseResponse {

    private UserLoginImpl login;

    public UserLoginImpl getLogin() {
        return login;
    }

    public void setLogin(UserLoginImpl login) {
        this.login = login;
    }

    private static final String NULL_TO_STRING = "UserLoginWrapperImpl { UserLogin = null } ";

    public String toString() {
        if (login == null) return NULL_TO_STRING;
        return login.toString();
    }
}
